<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  <meta name="author" content="The Campus Staff" />
  <meta name="keywords" content="Bishop's, Bishop's University, university, newspaper, Bishop's University Newspaper, The Campus, Campus, Campus Newspaper" />
  <meta name="description" content="The Campus: The Official Student Newspaper of Bishop's University" />
  <meta name="robots" content="all" />

  <title><%= @page_title || "The Campus: The Official Student Newspaper of Bishop's University" %></title>

  <!-- IE hack to prevent flash of unstyled content -->
  <script type="text/javascript"></script>

  <%= javascript_include_tag "prototype" %>
  <%= javascript_include_tag "effects" %>
  <%= javascript_include_tag "dragdrop" %>
  <%= javascript_include_tag "json" %>
  <%= javascript_include_tag "application" %>
  
  <!-- TODO: develop a print media style -->
  <%= stylesheet_link_tag "edit", :media => "all" %>
</head>
<body>
  <div id="main_container">
    <div id="edit_header">
      <h1 class="title">The Campus</h1>
      
       <div id="where">
        <%= render(:partial => "where")%>
      </div>

       <div id="who">
        <%= render(:partial => "who")%>
      </div>
    </div>



    <div id="sub_container">
      <div id="edit_search">

        <%= form_tag(:action => 'search') %>
         <p> <%= text_field_tag(:query, "Search", :size => 15, 
                                :onclick => "if(this.value == 'Search') this.value=''") %>
         </p>
        <%= end_form_tag() %>
      </div>
      <!-- /edit_search -->

      <div id="edit_navigation">
        


        
        <h2>Select/Create</h2>
        <ul>
          <li><%= link_to 'Issue', :action => 'pick_issue'%></li>

        </ul>        

        <h2>Create</h2>

        <ul>
          <li><%= link_to 'Volume', :action => 'new_volume'%></li>
          <li><%= link_to 'Image', :action => 'new_image'%></li>

        </ul>

        </ul>
      </div><!-- /edit_navigation -->

      <div id="edit_help">

        <%= get_help(@help_topic)%>
    
      </div> 
      <!-- /edit_help -->

      
      <div id="edit_work_area">
    
      
      
        <%= @content_for_layout %>
      </div><!-- /edit_work_area -->

      <div id="edit_footer">
        This page is brought to you by the Snowflake Gangsters, puffins, and the letter R.
      </div><!-- /edit_footer -->
    </div><!-- /sub_container -->
  </div><!-- /main_container -->
</body>
</html>
